using S.M.SmartMedical.Domain.Enums;
using System;

namespace S.M.SmartMedical.Domain.Entities
{
    /// <summary>
    /// 轮播图实体
    /// </summary>
    public class Carousel : BaseEntity
    {
        /// <summary>
        /// 轮播图标题
        /// </summary>
        public string Title { get; set; } = string.Empty;

        /// <summary>
        /// 图片URL
        /// </summary>
        public string ImageUrl { get; set; } = string.Empty;

        /// <summary>
        /// 链接地址
        /// </summary>
        public string LinkUrl { get; set; } = string.Empty;

        /// <summary>
        /// 轮播图状态
        /// </summary>
        public CarouselStatus Status { get; set; }

        /// <summary>
        /// 上传人
        /// </summary>
        public string Uploader { get; set; } = string.Empty;

        /// <summary>
        /// 上传时间
        /// </summary>
        public DateTime UploadTime { get; set; }

        /// <summary>
        /// 排序号
        /// </summary>
        public int SortOrder { get; set; }



        /// <summary>
        /// 生效开始时间
        /// </summary>
        public DateTime? EffectiveStartTime { get; set; }

        /// <summary>
        /// 生效结束时间
        /// </summary>
        public DateTime? EffectiveEndTime { get; set; }
    }
}